package com.ixuestar.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.ixuestar.entity.ExaminationInfo;
import com.ixuestar.entity.ExaminationQuestions;
import com.ixuestar.entity.ExaminationResults;
import com.ixuestar.entity.Examinationclass;
import com.ixuestar.entity.Examinationsubject;
import com.ixuestar.entity.MultipleChoiceQuestion;
import com.ixuestar.entity.QuestionScore;
import com.ixuestar.entity.SchoolClass;
import com.ixuestar.entity.SchoolStudent;
import com.ixuestar.entity.SchoolTeacher;
import com.ixuestar.entity.Schoolposition;
import com.ixuestar.entity.Schoolposttea;
import com.ixuestar.entity.SingleChoiceQuestion;
import com.ixuestar.entity.Subject;
import com.ixuestar.entity.SubjectiveQuestions;
import com.ixuestar.entity.SubjectiveQuestionsInterval;

public interface IxuestarTeacherMapper {
	//通过手机号获取老师信息
	public SchoolTeacher getSchoolTeacherInfo(@Param("map")Map<String, Object>map);
	//获取老师的权限关系表
	public List<Schoolposttea> getSchoolposttea(@Param("map")Map<String, Object>map);
	//获取老师权限所带班级
	public List<Schoolposttea> getSchoolpostteas(@Param("map")Map<String, Object>map);
	//获取老师权限信息表
	public Schoolposition getSchoolpositionInfo(@Param("ixspId")String ixspId);
	//获取老师所带班级表
	public SchoolClass getSchoolClassInfos(@Param("map")Map<String, Object>map);
	//获取老师所任职科目
	public Subject getSubjectInfo(@Param("ixsId")String ixsId);
	//获取年级的考试信息
	public List<ExaminationInfo> getExaminationInfos(@Param("ixsgId")String ixsgId);
	//查询考试是否存在相应的科目信息
	public Examinationsubject getExaminationsubject(@Param("map")Map<String, Object>map);
	//获取考试的科目信息
	public List<Examinationsubject> getExaminationsubjects(@Param("map")Map<String, Object>map);
	//获取参加考试的班级
	public List<Examinationclass> getExaminationclasses(@Param("map")Map<String, Object>map);
	//查询考试成绩
	public List<ExaminationResults> getExaminationResults(@Param("map")Map<String, Object>map);
	//获取学生的基本信息
	public SchoolStudent getSchoolStudentInfo(@Param("map")Map<String, Object>map);
	//获取分数段的学生人数
	public List<ExaminationResults> getExaminationResultSection(@Param("map")Map<String, Object>map);
	//获取考试科目的题目
	public List<ExaminationQuestions> getExaminationQuestion(@Param("map")Map<String, Object>map);
	//获取考试科目的题目
	public List<ExaminationQuestions> getExaminationQuestionsInfo(@Param("map")Map<String, Object>map);
	//获取考试题目的选项信息
	public SingleChoiceQuestion getSingleChoiceQuestionInfo(@Param("map")Map<String, Object>map);
	//获取考试题目的选项信息
	public MultipleChoiceQuestion getMultipleChoiceQuestionInfo(@Param("map")Map<String, Object>map);
	//获取考试题目的主观题的信息
	public SubjectiveQuestions getSubjectiveQuestionsInfo(@Param("map")Map<String, Object>map);
	//获取主观题的区间集合
	public List<SubjectiveQuestionsInterval> getSubjectiveQuestionsIntervals(@Param("map")Map<String, Object>map);
	//获取小题的班级答题情况--单项选择题
	public List<QuestionScore> getQuestionScoresInfoo(@Param("map")Map<String, Object>map);
	//获取小题的班级答题情况--多项选择题
	public List<QuestionScore> getQuestionScoresInfod(@Param("map")Map<String, Object>map);
	public List<QuestionScore> getQuestionScoresInfom(@Param("map")Map<String, Object>map);
	//获取小题的班级答题情况--主观题目
	public List<QuestionScore> getQuestionScoresInfos(@Param("map")Map<String, Object>map);
	
}
